package com.person.webdemoproject2.service;

import com.person.webdemoproject2.pojo.Collections;
import com.person.webdemoproject2.pojo.Post;
import org.springframework.stereotype.Service;

@Service
public interface PostService {

    boolean likePost(int postId,String token);

    int getLikeCount(int postId);

    boolean collectPost(Collections collections, String token);

    boolean likeComment(Integer commentId, String token);

    int getLikecomment(Integer commentId);

    boolean updatePost(Post post, String token);
}
